package cn.interfacehomework02;

public class Test {
    public static void main(String[] args) {
        Person person=new Person();
        Mobile  mobile = new Mobile();
        person.use((Dailup)mobile);
        person.use((Play)mobile);
        person.use((Takephoto)mobile);

    }
}
